<?php exit;?>
{if $socialcomment}
	{$socialcomment}
{else}
	<div {if $article.CommNums == 0}data-content="还没有人评论？赶快抢个沙发~"{/if} class="cmts block{if $article.CommNums=='0'} nocmt{/if}">
		{if $article.CommNums>0}<div class="posttitle"><h4>评论列表</h4></div>{/if}
		<label id="AjaxCommentBegin"></label>
		{foreach $comments as $key => $comment}
		{template:comment}
		{/foreach}
		{if $article.CommNums>0 && $pagebar}
		<div class="cmtpagebar">{template:pagebar}</div>
		{/if}
		<label id="AjaxCommentEnd"></label>
	</div>
	{template:commentpost}
{/if}